#include "manager.h"

Manager::Manager(int id, string name, int did)
{
    this->m_Id = id;
    this->m_Name = name;
    this->m_DeptId = did;
}

void Manager::showInfo()
{
    cout << "职工编号：" << this->m_Id;
    cout << "  岗位：" << this->m_Name;
    cout << "  岗位职责：完成老板交代的任务，并下发任务给员工" << endl;
}

string Manager::getDeptName()
{
    return string("经理");
}